[INFO] cloning repository https://github.com/moamedosama931/advent_of_code_2022_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moamedosama931/advent_of_code_2022_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6f2556497e914fefecb98f2671994f5ac4859260
[INFO] checking moamedosama931/advent_of_code_2022_rust against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/moamedosama931/advent_of_code_2022_rust
[INFO] finished tweaking git repo https://github.com/moamedosama931/advent_of_code_2022_rust
[INFO] tweaked toml for git repo https://github.com/moamedosama931/advent_of_code_2022_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/moamedosama931/advent_of_code_2022_rust on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/moamedosama931/advent_of_code_2022_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0a9659fa91cc87e9ce1161223413c4eeafdaaf65295afb72d45293aedd16846
[INFO] running `Command { std: "docker" "start" "-a" "c0a9659fa91cc87e9ce1161223413c4eeafdaaf65295afb72d45293aedd16846", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0a9659fa91cc87e9ce1161223413c4eeafdaaf65295afb72d45293aedd16846", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0a9659fa91cc87e9ce1161223413c4eeafdaaf65295afb72d45293aedd16846", kill_on_drop: false }`
[INFO] [stdout] c0a9659fa91cc87e9ce1161223413c4eeafdaaf65295afb72d45293aedd16846
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0cddd0271da0198b82eea109fdfe43f1d87e18c392e33daa6d723e85e14ac56e
[INFO] running `Command { std: "docker" "start" "-a" "0cddd0271da0198b82eea109fdfe43f1d87e18c392e33daa6d723e85e14ac56e", kill_on_drop: false }`
[INFO] [stderr]     Checking advent_of_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2a.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         result += (total_score as usize);
[INFO] [stdout] 23 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2b.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -         result += (total_score as usize);
[INFO] [stdout] 21 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2a.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         result += (total_score as usize);
[INFO] [stdout] 23 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2b.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -         result += (total_score as usize);
[INFO] [stdout] 21 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1a.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1b.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day2/day2a.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/day2/day2a.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_lines(filename: &str) -> io::Lines<BufReader<File>> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1a.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1b.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day2/day2a.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/day2/day2a.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_lines(filename: &str) -> io::Lines<BufReader<File>> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "0cddd0271da0198b82eea109fdfe43f1d87e18c392e33daa6d723e85e14ac56e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cddd0271da0198b82eea109fdfe43f1d87e18c392e33daa6d723e85e14ac56e", kill_on_drop: false }`
[INFO] [stdout] 0cddd0271da0198b82eea109fdfe43f1d87e18c392e33daa6d723e85e14ac56e
